package cn.itsource.user.service;

import cn.itsource.basic.exception.CustomException;
import cn.itsource.basic.util.AjaxResult;
import cn.itsource.user.domain.LoginInfo;

public interface ILoginInfoService {

    /**
     * 登录
     * @param loginInfo(用户名，密码，手机号，邮箱，type)
     */
    AjaxResult login(LoginInfo loginInfo) throws CustomException;
}
